package com.java.business.model;

import com.java.common.model.PageParam;
import com.java.manage.model.Accessories;
import com.java.manage.model.Maintain;
import lombok.Data;

import java.util.Date;

/**
 * 维修保养明细表
 */
@Data
public class MaintainDetail extends PageParam {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 维修保养记录ID，关联维修保养记录表t_maintain_record
     */
    private Integer maintainRecordId;
    /**
     * 维修保养项目ID，关联维修保养项目表t_maintain
     */
    private Integer maintainId;
    /**
     * 创建时间
     */
    private Date createTime;

    private MaintainRecord maintainRecord = new MaintainRecord(); // 维修保养记录表

    private Checkin checkin = new Checkin();// 用户表

    private Maintain maintain = new Maintain(); // 维修保养项目表

    private Accessories accessories = new Accessories();// 配件表
}
